﻿#pragma once

#include "StatusBar/EditorStatusItemView.h"
#include "EditorTestButtonStatusView.m.h"

class REditorTestButtonStatusViewModel;

//这是一个测试按钮，放在状态栏中
RCLASS()
class REditorTestButtonStatusView : public REditorStatusItemView
{
    ROBJECT

public:
    virtual void BindViewModel(TSharedObjectPtr<REditorStatusItemViewModel> InViewModel) override; 

    virtual void FillWidgets(
        TSharedObjectPtr<RHorizontalPositionerWidget> InLeftPart
        , TSharedObjectPtr<RHorizontalPositionerWidget> InRightPart) override;
protected:
    TWeakObjectPtr<REditorTestButtonStatusViewModel> TestButtonViewModel;
};